package com.blb.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author HuaHao
 * @since 2019-11-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_laser")
public class Laser extends Model<Laser> {

    private static final long serialVersionUID=1L;

    /**
     * id
     */
    private String id;

    private String lSerial;

    private String lNo;

    /**
     * 激光码
     */
    private String lCode;

    private String lStatus;

     private String lPrinter;
    private String companyId;

    /**
     * 查询次数
     */
    @TableField(exist=false)
    private Integer qtimes;

    /**
     * 产品名称
     */
    @TableField(exist=false)
    private String pName;

    /**
     * 产品类型
     */
    @TableField(exist=false)
    private String pBrand;

    /**
     *生产地址
     */
    @TableField(exist=false)
    private String companyProvince;

    @TableField(exist=false)
    private String companyCity;

    @TableField(exist=false)
    private String companyArea;

    @TableField(exist=false)
    private String companyAddress;



    /**
     *生产时间
     */
    @TableField(exist=false)
    private String pTime;



    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
